package org.darcy.vo.project;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

@Schema(description = "饼图数据(单条)")
@Getter
@Setter
public class PieItem {

	@Schema(description = "明细名称")
	private String name;

	@Schema(description = "明细值")
	private float value;

	public PieItem(String name, float value) {
		this.name = name;
		this.value = value;
	}

}
